package com.yanzhiyi.eureka;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * FileName: EurekaApplication
 * Author:   xuan zongjun
 * Date:     2020/10/21 11:13
 * Description:
 */

@SpringBootApplication
@EnableEurekaServer     //声明当前项目是eureka注册中心
public class EurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run( EurekaApplication.class,args );
    }
}
